﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/PortalParts/Portal.Master"
    CodeBehind="PartyVideoDetail.aspx.cs" Inherits="ZHDJ.Web.Portal.PartyVideoDetail" %>

<%@ Import Namespace="ZHDJ.WebPage" %>


<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="../../Resource/js/Nailthumb/jquery.nailthumb.1.1.min.css" rel="stylesheet" />
    <script src="../../Resource/js/carousel.js"></script>
    <script src="../../Resource/js/Nailthumb/jquery.nailthumb.1.1.min.js"></script>
    <script type="text/javascript">
        var finishload = function () {
            //$(".nailthumb-container").css({ left: "20%" });
            //$("#imagediv").fadeIn(1000);
        }

        $(function () {
            $('.nailthumb-container').each(function (i, n) {
                $(n).nailthumb({ width: 620, height: 300, method: 'resize', fitDirection: 'center center', onFinish: finishload });
            });

        });
    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="party-navigation">
        当前位置：<a href="/Default.aspx">首页</a> > <a href="/Portal/Edu/PartyEduCoursewareMore.aspx?category=<%=CourseType %>">视频.课件</a> > 
        <a href="/Portal/Edu/PartyEduCoursewareMore.aspx?category=<%=CourseType %>"><%=CourseTypeName %></a>
        党建音视频纪实
    </div>
	<div class="bgline"></div>
    <div class="article-title">
        <asp:Label ID="lblTitle" runat="server"></asp:Label>
    </div>
    <div class="article-info">
        <asp:Label ID="lbBranch" runat="server"></asp:Label>&nbsp;
                <asp:Label ID="lblTime" runat="server"></asp:Label>
        点击数：<asp:Label ID="lblClickCount" runat="server" style="color:red;"></asp:Label>
    </div>
    <div class="article-content">
        <div runat="server" id="onlineVideo" visible="false">
            <div id="a1"></div>
            <script type="text/javascript" src="/Resource/ckplayer/ckplayer.js" charset="utf-8"></script>
            <script type="text/javascript">
                
                var ismp4 = <%=IsMp4%>;
                var flashvars = {
                    f: '<%=FileUrl%>',
                    c: 0
                };
    
                var params = { bgcolor: '#FFF', allowFullScreen: true, allowScriptAccess: 'always', wmode: 'transparent' };
                if (ismp4 == 1) {
                    var video = ['<%=FileUrl%>'];
                    CKobject.embed('/Resource/ckplayer/ckplayer.swf', 'a1', 'ckplayer_a1', '100%', '100%', true, flashvars, video, params);
                } else {
                    CKobject.embedSWF('/Resource/ckplayer/ckplayer.swf', 'a1', 'ckplayer_a1', '100%', '562', flashvars, params);
                }
            </script>

        </div>
        <%--<div id="imagediv" class="imageAuto_center" style="margin-left: 20%;display:none">
            <div class="u-carousel" style="margin-top: 6px;">
                <div class="u-carouselimg" style="position: relative">
                    <% foreach (var item in Images)
                        {
                    %>
                    <div class="nailthumb-container" style="display: none">
                        <img src='<%= UpFileBusiness.GetFileUrl(Convert.ToString(item.FileID)) %>' />

                    </div>
                    <%
                        } %>
                </div>
                <ul style="top: 270px;">
                    <% var index = 1;
                        foreach (var item in Images)
                        {
                    %>
                    <li><%=index %></li>
                    <% index++;
                        } %>
                </ul>
                <div class="bg_picture" style="width: 620px; height: 30px; line-height: 30px; top: 270px;">
                </div>
                <div class="textp">
                    <p style="top: 270px;"></p>
                    <p style="top: 270px;"></p>

                </div>
            </div>
        </div>--%>
        <div class="cztable" style="display:none;">
            <table class="table_b" border="0" cellspacing="0" cellpadding="0">
                <tr class="tr_b">
                    <th class="th_b">课程名称：</th>
                    <td class="td_b" colspan="3">
                        <asp:Literal ID="litTitle" runat="server"></asp:Literal></td>
                </tr>
                <tr class="tr_b">
                    <th class="th_b">课件格式：</th>
                    <td class="td_b" style="width: 35%">
                        <asp:Literal ID="litCourseType" runat="server"></asp:Literal>
                    </td>
                    <th class="th_b">课程类别：</th>
                    <td class="td_b" style="width: 35%">
                        <asp:Literal ID="litCategory" runat="server"></asp:Literal>
                    </td>
                </tr>
                <tr class="tr_b">
                    <th class="th_b">大纲：</th>
                    <td class="td_b" colspan="3">
                        <asp:Literal ID="ltContent" runat="server"></asp:Literal></td>
                </tr>
                <tr class="tr_b">
                    <th class="th_b">下载：</th>
                    <td class="td_b" colspan="3"><span>
                        <asp:Literal ID="litFile" runat="server"></asp:Literal></span>

                    </td>
                </tr>
            </table>
        </div>
    </div>
</asp:Content>
